package com.lishanyang.hibernate.dao;

import com.lishanyang.hibernate.entity.UserEntity;

public class UserDAOImpl extends BaseHibernateDAO implements UserDAO {
    @Override
    public void add(UserEntity userEntity) {
        super.add(userEntity);
    }

    @Override
    public void delete(UserEntity userEntity) {
        super.delete(userEntity);
    }

    @Override
    public UserEntity get(int id) {
        return (UserEntity) super.get(UserEntity.class,id);
    }

    @Override
    public void update(UserEntity userEntity) {
        super.update(userEntity);
    }
}
